//引入重置样式
require("../css/commCss/normalize.css");
//引入重置扩展样式
require("../css/commCss/reset.css");
//引入公共样式
require("../css/commCss/property.css");
//引入公共扩展样式
require("../css/commCss/basic.css");

//引入字体图标样式
require("../lib/font_3139541_zokbtoztf/iconfont.css");

//引入当前页面样式
require("../css/Countdownjump.less");

//引入axios
const axios = require("axios");

//导入util
const util = require("../lib/util");

//导入weui
require("weui");
const weui = require("weui.js");

//文档加载事件
document.addEventListener("DOMContentLoaded", function () {

     //0获取元素
     let Num = document.querySelector('#Num')

     Countdownjump()
     function Countdownjump() {
          let num = 3
          let userId = setInterval(function () {
               num--
               if ( num > 0) {    
                Num.textContent = num             
                   
               } else if (num === 0) {
                    Num.textContent = 'GO'
               } else if (num === -1){
                location.href = 'exerciseing.html'
                clearInterval(userId)
               }
          },1000)
     }

})